﻿<project name="StockholmsStad.Windows.UI" default="Info">
  	<include buildfile="Properties.Include" />

	<target name="Run">
		<call target="Info" />
		<!--<call target="Build" />-->
    <call target="CopyToDeployFolder" />
  </target>

	<target name="Info">
		<echo message="${ProjectName} buildfile..." />
	</target>

 	<target name="Build">
		<msbuild project="${ProjectFolder}\${ProjectName}.sln">
			<arg value="/p:Configuration=${Configuration}" />
			<arg value="/v:m" />
		</msbuild>

    <echo message="${SetupProjectFolder}\${SetupProjectName}.vdproj /rebuild ${Configuration}" />
    <exec program="${DEVENVEXE}" commandline="${SetupProjectFolder}\${SetupProjectName}.vdproj /rebuild ${Configuration}" />
  </target>

  <target name="CopyToDeployFolder">
    <nant buildfile="${Global.CoreTargetsBuildFile}" target="Core.CopyReportsToDeployFolder" inheritall="true">
      <properties>
        <property name="Project.ReportFolder" value="${ReportFolder}" />
      </properties>
    </nant>
  </target>
  
</project>